package com.fulihui.usercore.dal.mapper;

import com.fulihui.usercore.dal.dataobj.UserDO;
import com.fulihui.usercore.dal.dataobj.UserDOExample;
import com.fulihui.usercore.dal.dataobj.UserDOWithBLOBs;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UserDOMapper {
    long countByExample(UserDOExample example);

    int deleteByExample(UserDOExample example);

    int deleteByPrimaryKey(String userId);

    int insert(UserDOWithBLOBs record);

    int insertSelective(UserDOWithBLOBs record);

    List<UserDOWithBLOBs> selectByExampleWithBLOBs(UserDOExample example);

    List<UserDO> selectByExample(UserDOExample example);

    UserDOWithBLOBs selectByPrimaryKey(String userId);

    int updateByExampleSelective(@Param("record") UserDOWithBLOBs record, @Param("example") UserDOExample example);

    int updateByExampleWithBLOBs(@Param("record") UserDOWithBLOBs record, @Param("example") UserDOExample example);

    int updateByExample(@Param("record") UserDO record, @Param("example") UserDOExample example);

    int updateByPrimaryKeySelective(UserDOWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(UserDOWithBLOBs record);

    int updateByPrimaryKey(UserDO record);
}